import { uniRequset } from '@/utils/request'
/**
 * 获取微信支付参数
 * @param {String} order_number 订单号
 */
export const getPayMiniPayApi = (order_number: string) => {
  // 微信小程序原生类型
  return uniRequset<WechatMiniprogram.RequestPaymentOption>({
    url: '/order/mini/get_pay_mini_info/',
    method: 'GET',
    data: { order_number },
  })
}
